package com.haima.ziliao.domain;

import java.math.BigDecimal;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 邮费配置对象 p_kuaidiconfig
 * 
 * @author hima
 * @date 2024-11-25
 */
public class PKuaidiconfig implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String name;

    /** 是否包邮 */
    @Excel(name = "是否包邮")
    private String sfby;

    /** 满额包邮 */
    @Excel(name = "满额包邮")
    private BigDecimal manyou;

    /** 邮费 */
    @Excel(name = "邮费")
    private BigDecimal youfei;

    /** 不包邮地区 */
    @Excel(name = "不包邮地区")
    private String disarea;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSfby(String sfby)
    {
        this.sfby = sfby;
    }

    public String getSfby()
    {
        return sfby;
    }
    public void setManyou(BigDecimal manyou) 
    {
        this.manyou = manyou;
    }

    public BigDecimal getManyou() 
    {
        return manyou;
    }
    public void setYoufei(BigDecimal youfei) 
    {
        this.youfei = youfei;
    }

    public BigDecimal getYoufei() 
    {
        return youfei;
    }
    public void setDisarea(String disarea) 
    {
        this.disarea = disarea;
    }

    public String getDisarea() 
    {
        return disarea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sfby", getSfby())
            .append("manyou", getManyou())
            .append("youfei", getYoufei())
            .append("disarea", getDisarea())
            .toString();
    }
}
